const http = require("http")

const port = 3002

const server = http.createServer((req,res )=>{
    res.statusCode = 200
    res.setHeader("Content-Type","text/plain")
    res.end("Node Http Server Response!"+JSON.stringify(req))
})

server.listen(port,()=>{
    console.log(`server is running at port http://127.0.0.1:${port}/`)
})